using System;
using System.Threading;

namespace ShootLife2D
{
#if WINDOWS || XBOX
    
    static class Program
    {
        public static SynchronizationContext Context;
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        //[STAThread]
        static void Main(string[] args)
        {
            Context = SynchronizationContext.Current;
            if(Context == null)
            {
                Context = new SynchronizationContext();
            }
            using (Game1 game = new Game1())
            {
                game.Run();
            }
        }
    }
#endif
}

